package com.xinyue.ext.data;

import java.util.List;

/**
 * 封装XML数据
 * 包括所有Entity、Finder
 */
public class EntityData {
	/**包名*/
	private String beanPackage;
	/**导入JAVA类*/
	private List<String> imports;
	/**表名*/
	private String table;
	/**类名*/
	private String className;
	/**id属性*/
	private FieldData id;
	/**属性集合*/
	private List<FieldData> fields;
	
	/**order by语句*/
	private String order;
	
	/**DAO接口*/
	private DaoData dao;

	//getter setter
	public String getBeanPackage() {
		return beanPackage;
	}
	public void setBeanPackage(String beanPackage) {
		this.beanPackage = beanPackage;
	}
	public List<String> getImports() {
		return imports;
	}
	public void setImports(List<String> imports) {
		this.imports = imports;
	}
	public String getTable() {
		return table;
	}
	public void setTable(String table) {
		this.table = table;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public FieldData getId() {
		return id;
	}
	public void setId(FieldData id) {
		this.id = id;
	}
	public List<FieldData> getFields() {
		return fields;
	}
	public void setFields(List<FieldData> fields) {
		this.fields = fields;
	}
	public DaoData getDao() {
		return dao;
	}
	public void setDao(DaoData dao) {
		this.dao = dao;
	}
	public String getOrder() {
		return order;
	}
	public void setOrder(String order) {
		this.order = order;
	}
}
